﻿@model IEnumerable<PilotProject.TestEngine>
           
@*<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
*@
<link href="../../Content/tables.css" rel="stylesheet" type="text/css" />
<style type="text/css">
table td font
{
 color:#84B0E5; 
 font-size:14px;  
}
</style>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

 <div id="data" style="margin-top:33px;width:890px;" class="datagrid">


<table style="width:890px;margin:auto;">
<thead>
    <tr>       
         <th>   Passmark as Percentage</th>       
      
         <th>   Duration In Minutes</th>       
        
         <th>   Number Of Questions </th>    
        
         <th>   Last Updated</th>
        
         <th>   Description</th>

         <th>   Edit </th>
    </tr>
</thead>
   <tfoot><tr><td colspan="6"><div>&nbsp;</div></tr></tfoot>

   <tbody>
        @foreach (var item in Model) {
            <tr style="background-color:#FFFFFF;">
                <td>
                    @Html.DisplayFor(modelItem => item.PassmarkAsPercentage)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.DurationInMinutes)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.NumberOfQuestions)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.LastUpdated)
                </td>

                <td>@Html.DisplayFor(modelItem => item.TestEngineDescription)</td>
               
                <td><a href="@Url.Action("Edit", "TestEngine",new { id=item.Id })"><img alt="Edit" src="../../Content/items1/img/rte/editIco.png" /></a></td>                      
            </tr>
            <tr>
                <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>
            </tr>
        }
</tbody>

</table>


</div>
